{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">

<div class="formitems inline">  
    <label class="fi-name"><span class="colorRed">*</span>一级分类名称：</label>  
    <div class="form-controls">  
    <select name="class_id">
    <option value="a">--请选择--</option>
    {foreach from=$level_one_list item=row}
    <option value="{$row.class_id}">{$row.class_name}</option>
    {/foreach}
    </select>
		<span class="fi-help-text hide"></span>
    </div>  
</div> 

<div class="formitems inline">  
    <label class="fi-name"><span class="colorRed">*</span>二级分类名称：</label>  
    <div class="form-controls">  
		<input type="text" placeholder="" class="xlarge" name="class_name" id="class_name" value="{$class_info.class_name}">  
		<span class="fi-help-text hide"></span>
    </div>  
</div> 

<div class="formitems inline">  
    <label class="fi-name"><span class="colorRed">*</span>排序号：</label>  
    <div class="form-controls">  
		<input type="text" placeholder="" class="xlarge" name="serial" id="serial" value="{$class_info.serial}">  
		<span class="fi-help-text hide"></span>
    </div>  
</div> 

<div class="formitems inline">  
    <label class="fi-name">显示：</label>  
    <div class="form-controls">  
        <div class="radio-group">  
            <label><input type="radio" name="isuse" value="1" checked="checked" />是</label>  
            <label><input type="radio" name="isuse" value="0" />否</label>   
        </div>  
    </div>  
</div> 

<div class="formitems inline">  
    <label class="fi-name">是否在首页显示：</label>  
    <div class="form-controls">  
        <div class="radio-group">  
            <label><input type="radio" name="is_index" value="1" />是</label>  
            <label><input type="radio" name="is_index" value="0" checked="checked" />否</label>   
        </div>  
    </div>  
</div>

<div class="formitems inline">  
    <label class="fi-name">是否在快速订单显示：</label>  
    <div class="form-controls">  
        <div class="radio-group">  
            <label><input type="radio" name="is_first_order" value="1" {if $class_info.is_first_order == 1}checked="checked"{/if} />是</label>  
            <label><input type="radio" name="is_first_order" value="0" {if $class_info.is_first_order == 0}checked="checked"{/if} />否</label>   
        </div>  
    </div>  
</div> 

<div class="formitems inline">  
    <label class="fi-name"></label>  
    <div class="form-controls">  
		<input type="hidden" name="act" value="add" />
        <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>添加</button>  
    </div>  
</div> 
</form>
{/block} 

{block name="js"}
<!-- 编辑器 -->
{/block} 

{block name="css"}
{/block}
